//
//  VGReturnPartPicViewCell.m
//  Vgo
//
//  Created by QuDavid on 15/10/19.
//  Copyright © 2015年 XJH.COM. All rights reserved.
//

#import "VGReturnPartPicViewCell.h"


@implementation VGPicData

@end

@implementation VGReturnGoodsPicDTO

@end

@interface VGReturnPartPicViewCell ()

@property (nonatomic,strong) UILabel* upPicLab;

@property (nonatomic,strong) UILabel* upTipLab;

@end

@implementation VGReturnPartPicViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _upPicLab = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, 80, 30)];
        _upPicLab.backgroundColor = [UIColor clearColor];
        _upPicLab.text = @"上传凭证:";
        _upPicLab.font = [UIFont systemFontOfSize:16];
        _upPicLab.textColor = [UIColor blackColor];
        _upPicLab.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_upPicLab];
        
        _upTipLab = [[UILabel alloc] initWithFrame:CGRectMake(90, 5, 120, 30)];
        _upTipLab.backgroundColor = [UIColor clearColor];
        _upTipLab.text = @"最多五张图片";
        _upTipLab.font = [UIFont systemFontOfSize:13];
        _upTipLab.textAlignment = NSTextAlignmentLeft;
        [self.contentView addSubview:_upTipLab];
        
        _addImageView.image = [UIImage imageNamed:@"add@2x.png"];
        _addImageView.userInteractionEnabled = YES;
        [self.contentView addSubview:_addImageView];
    }
    
    return self;
}

- (void)awakeFromNib
{
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
}

- (void)addImage
{
    _upTipLab.hidden = YES;
}

- (void)deleteImage
{
    _upTipLab.hidden = NO;
}

@end
